﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Mp3Cleaner" 
                    >

    <Style x:Key="StyleGainsboro" TargetType="DataGridCell">
        <Setter Property="Background" Value="{ThemeDictionary DialogBackgroundBrush}"/>
    </Style>
    <Style x:Key="StylePowderBlue" TargetType="DataGridCell">
        <Setter Property="Background" Value="PowderBlue"/>
    </Style>
    <Style x:Key="StyleNavajoWhite" TargetType="DataGridCell">
        <Setter Property="Background" Value="NavajoWhite"/>
    </Style>

    <SolidColorBrush x:Key="BrushGainsboro" Color="Gainsboro"/>
    <SolidColorBrush x:Key="BrushPowderBlue" Color="PowderBlue"/>
    <SolidColorBrush x:Key="BrushNavajoWhite" Color="NavajoWhite"/>


    <SolidColorBrush x:Key="DialogBackgroundBrush" Color="{DynamicResource {x:Static SystemColors.ActiveBorderColor }}"/>
    
    <Style TargetType="DataGridCell">
        <Style.Triggers>
            <MultiTrigger>
                <MultiTrigger.Conditions>
                    <Condition Property="IsReadOnly" Value="true" />
                    <Condition Property="IsMouseOver" Value="true" />
                </MultiTrigger.Conditions>
                <Setter Property="Background" Value="Green"/>
            </MultiTrigger>
        </Style.Triggers>
    </Style>






    <Style x:Key="HeaderStyle" TargetType="DataGridColumnHeader">
        <Setter Property="Background" Value="{StaticResource HeaderBrush}" />
        <Setter Property="Foreground" Value="White" />
        <Setter Property="BorderBrush" Value="{StaticResource HeaderBorderBrush}" />
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="SnapsToDevicePixels" Value="True" />
        <Setter Property="HorizontalContentAlignment" Value="Center" />
        <Setter Property="MinWidth" Value="0" />
        <Setter Property="MinHeight" Value="30" />
        <Setter Property="Cursor" Value="Hand" />
    </Style>

    <LinearGradientBrush x:Key="HeaderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Color="#FF6B8E95" Offset="0"/>
        <GradientStop Color="#FF14A7C1" Offset="1"/>
        <GradientStop Color="#FF1E424E" Offset="0.509"/>
        <GradientStop Color="#FF1D4855" Offset="0.542"/>
        <GradientStop Color="#FF1D4855" Offset="0.542"/>
        <GradientStop Color="#FF193A44" Offset="0.526"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="HeaderBorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Color="#FF1D1D1D" Offset="0.614"/>
        <GradientStop Color="#FF007F96" Offset="0.853"/>
        <GradientStop Color="#FF0AEAFA" Offset="1"/>
    </LinearGradientBrush>












</ResourceDictionary>